import { ref } from 'vue';

const useRevokeStorage = () => {

    const revokeStorageVisible = ref(false);
    const revokeStorageObj = ref({});

    /**
     * @description: 打开撒销入库详情
     */
    const handleOpenRevokeStorage = (row: any) => {
        console.log(row);
        revokeStorageObj.value = row;
        revokeStorageVisible.value = true;
    };


    return {
        revokeStorageVisible,
        revokeStorageObj,
        handleOpenRevokeStorage,
    }
};

export default useRevokeStorage;